<?php
namespace app\index\controller;
use think\controller;
use app\index\model\Student;
use think\Request;

class Index{
    public function index(){
        $data = Student::all();
        return json($data);
    }
}
